package net.pinnoocle.playdao.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

/**
 * 主持人财务明细(MasterFinance)表实体类
 *
 * @author ye
 * @since 2021-11-09 15:28:57
 */
@SuppressWarnings("serial")
@Data
@TableName("master_finance")
public class MasterFinance extends Model<MasterFinance> {

    @TableId(type = IdType.UUID)
    private String financeId;
    //主持人id
    private String masterId;
    //店铺id
    private String shopId;
    //本次收入
    private Double incomeAmount;
    //来源
    private String sourceName;
    //余额
    private Double balance;
    //提现凑单、拆单后的剩余金额
    private Double leftAmount;
    //收入or支出 0 收入 1 支出
    private Integer financeType;
    //冻结金额
    private Double freezeAmount;
    //提现id
    private String withdrawId;
    //创建时间
    private Date createdTime;
}